package com.lagou.config;

import com.lagou.utils.ParameterMapping;

import java.util.List;

/**
 * @Title: IPersistence
 * @Description:
 * @Author: Wenfeng Cheng
 * @Date: 2020-11-28 12:06
 * @Version: 1.0.0
 */
public class BoundSql {

    private String sqlText;  //解析过后的sql

    private List<ParameterMapping> parameterMappingList;

    public BoundSql(String sqlText, List<ParameterMapping> parameterMappingList) {
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
